Page({
  data: {},
  click(){
    // alert("点击");
    
    dd.showToast({
        content:"我的按钮",
        // type: 'success',
        duration: 1000,
        success() {
          console.log("点击")
        },
      });
  },
  onShareAppMessage() {
    return {
      title: 'view page',
      path: 'page/component/view/view',
    };
  },
  onLoad() {}, 
  open(){
    dd.showToast({
      content:"open开放能力",
      title:"aaa",
      duration:3000,
    })
  },
  onSubmit() {
    dd.alert({ title: 'You click submit',content: '你点击了提交', });
  },
  onReset() {
    dd.alert({ title: 'You click reset',content: '你点击了重置', });
  },
});
